from flask import Flask, render_template
from flask_script import Manager
from flask_bootstrap import Bootstrap
from flask_moment import Moment
from datetime import datetime
# from flask.ext.script import Manager

app = Flask(__name__)
bootstarp = Bootstrap(app)
moment = Moment(app)


@app.route("/") # url
def index():
    return render_template("index.html",
                            current_time=datetime.utcnow())

@app.route("/user/<name>")
def hello(name):
    return render_template("user.html", www=name)


if __name__ == "__main__":
    app.run(debug=True)

